package com.sq.partner.manager.dao;

import java.util.List;

import com.sq.partner.manager.mybatis.model.GatewayChannelUser;

/**
 * 渠道用户
 * @author Kang Zhiqiang
 *
 */
public interface IGatewayChannelUserDao extends BaseDao{

	/**
	 * 根据channelUser属性查询相应的channelUser
	 * @param channelUser
	 * @return
	 * @throws Exception
	 */
	public List<GatewayChannelUser> queryByChannelUser(GatewayChannelUser channelUser) throws Exception;
	
	/**
	 * 根据channelUser属性删除相应的channelUser
	 * @param channelUser
	 * @throws Exception
	 */
	public void delByChannelUser(GatewayChannelUser channelUser) throws Exception;
	
	/**
	 * 添加channelUser
	 * @param channelUser
	 * @throws Exception
	 */
	public void save(GatewayChannelUser channelUser) throws Exception;
}
